package net.sashag.nadlandroid;

import com.googlecode.androidannotations.annotations.Bean;
import com.googlecode.androidannotations.annotations.EReceiver;
import com.parse.ParseUser;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

@EReceiver
public class BootCompletedReceiver extends BroadcastReceiver {

	@Bean
	protected FavoritesManager favoritesManager;
	
	@Override
	public void onReceive(Context context, Intent intent) {
		favoritesManager.setProximityAlertsFromFavoriteApartments(ParseUser.getCurrentUser());
	}

}
